import http from "@/utils/http";

export default {
    login: (data: HttpPayload.Login): Promise<string> => http<HttpPayload.Login, string>({ url: 'user/login_pwd', method: 'post', data }),
    mobileLogin: (): Promise<string> => http<null, string>({ url: 'user/login_phone', method: 'post' })
}